package com.hm.common.su.vo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author shishun.wang
 * @version 1.0
 * @date 2019/4/3 14:38
 * @describe
 */
@Data
public class BaseVo implements Serializable {
	
	private Long id;
	
	private String createBy = "0";
	
	private String updateBy = "0";
	
	private int version;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime = new Date();
	
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime = new Date();
	
}
